<%--
  Created by IntelliJ IDEA.
  User: zhaocan
  Date: 2018/7/10
  Time: 14:28
  Description:;来电弹屏ui更换，重写
--%>
<%@ page contentType="text/html;charset=UTF-8"%>
<html>
<head>
    <title>来电弹屏</title>
    <%@ include file="/WEB-INF/pages/common/meta.jsp" %>
    <%@include file="/WEB-INF/pages/common/ui.jsp" %>
    <script type="text/javascript">
        var customerPhone = "${phone}";
    </script>
    <link rel="stylesheet" type="text/css" href="${ctx}/static/css/icsScrollbar.css"/>
    <script type="text/javascript" src="${ctx}/static/js/main.js?jsTimer=${jsTimer}"></script>
    <script type="text/javascript" src="${ctx}/static/js/expand/easyui-validatebox.expandMethod.js"></script>
    <script type="text/javascript" src="${ctx}/static/js/cs/ccosCallScreenPopUp.js?jsTimer=${jsTimer}"></script>
    <script type="text/javascript" src="${ctx}/callcenter/js/plugins/jquery.sdcommon.js?v=1.0.0"></script>
    <style>

        .nydxx .xyctable{
            width: 100%;
        }
        .xyctable td,.xyctable tr{
            padding: 3px;
            font-size: 14px;
            /*color: #999;*/
        }
        .datagrid .datagrid-pager{
            display: block;
            margin: 0;
            border-width: 1px 0 0 0;
            position: relative;
            left: 100px;
        }
        .tabs-controlbox .l-btn-plain {
            margin-right: 15px;
        }
        .pagination-info{
            margin: 0 120px;
        }
        .tabs-controlbox .l-btn-icon{width: 14px !important;height: 24px !important; line-height: 24px !important; margin-top: -13px !important;}
        .tabs-controlbox .l-btn-icon-left .l-btn-text{margin: 0px;line-height: 30px;}
    </style>
    <style>
        .ttt{
            padding: 5px 0;
        }
        .pointSapan{
            cursor: pointer;
        }
        .left .left-text{
            text-align: left;
        }
        .left-text{
            display: flex;
            max-width: 85%;
            justify-content: flex-start;
            align-items: center;
        }
        .tx{
            display: inline-block;
            width: 50px;
            height: 50px;
            flex-shrink: 0;
            border-radius: 50%;
            background: red;
        }
        .contents{
            display: inline-block;
        }
        .left .contents{
            padding-left: 5px;
        }
        .right .contents{
            padding-right: 5px;
        }
        .left .contents>span{
            display: block;

        }
        .right .contents>span{
            display: block;

        }
        .right::after,.left::after{
            content: " ";
            display: block;
            clear: both;
        }
        .right{
            text-align: right;
        }
        .right-text{
            display: flex;
            max-width: 85%;
            justify-content: flex-end;
            align-items: center;
            float: right;
        }
        .c-tx{
            padding: 8px;
            border: 1px #cccccc solid;
            border-radius: 3px;
            background: #f1f1f1;
            text-align: left;
        }
        .left,.right{
            padding: 10px 0;
        }
        .textbox-text{
            min-height: 26px!important;
        }
        #width77{
            width: 60%;
        }
    </style>
    <script>
        var G_CTX_PATH = "${ctx}";
    </script>
</head>
<body>
<div data-options="region:'center',border:0,bottom:'10px'" class="container-wrap">
    <div class="container-center-wrap"
         style="margin-top: 5px;margin-left: 8px;margin-right: 8px;margin-bottom: 8px;">
        <div class="tabs-controlbox" data-options="border:0,resizable:true">
            <div title="来电弹屏" data-options="resizable:true" class="btitle" style="padding:0px;padding-bottom: 0; position: relative;">
                <div class="line-show"></div>
                <!--知识库开始-->
                <div class="zsk-wrap" >
                    <a  style="display:none" class="btnreset easyui-linkbutton" data-options="iconCls:'icon-zhishiku-w'" href="javascript:;">知识库</a>
                </div>
                <!--知识库结束-->
                <!--左侧开始-->
                <div class="leftTab">
                    <div class="leftTabShow leftTabShow2">
                        <div class="chulizhong" id ="processingCustSerOrderNum">0</div>
                        <div class="yiwanjie"   id ="finishedCustSerOrderNum">0</div>
                        <div class="easyui-tabs" id ="leftCsSmOrdeTab">
                            <div title="新建工单" style="padding:10px">
                                <div class="newgd-wrap">
                                    <form id ="customerInformationForm">
                                        <input type="hidden" id ="id" name="id" value="${id}" />
                                        <div class="form-title">客户信息</div>
                                        <div class="new-gongdan easyuitextbox kehu-box">
                                            <div class="acc-row"style="margin-left:5px;">
                                                <div class="acc-items width33">
                                                    <div class="acc-title">客户编码：</div>
                                                    <div class="acc-con">
                                                        <div class="acc-con-main">
                                                            <input  id ="custCode" name ="custCode" class="easyui-textbox" type="text" readonly="readonly"/>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="acc-items width33">
                                                    <div class="acc-title">客户性别：<span style="color: red;">*</span></div>
                                                    <div class="acc-con">
                                                        <div class="acc-con-main">
                                                            <input class="easyui-combobox" id= "custSex"   name="custSex" data-options="prompt:'请选择客户性别',required:true,editable:'false'" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="acc-items width33">
                                                    <div class="acc-title">客户名称：<span style="color: red;">*</span></div>
                                                    <div class="acc-con">
                                                        <div class="acc-con-main">
                                                            <input  id ="custName" name ="custName" type="text" class="easyui-textbox" data-options="prompt:'请填写客户名称',required:true,validType:['length[1,20]']"/>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="acc-row" style="margin-left:5px;">
                                                <div class="acc-items width33">
                                                    <div class="acc-title">客户等级：<span style="color: red;">*</span></div>
                                                    <div class="acc-con">
                                                        <div class="acc-con-main">
                                                            <input class="easyui-combobox" id= "custGrade"   name="custGrade" data-options="prompt:'请选择客户等级',required:true,editable:'false' " />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="acc-items width33">
                                                    <div class="acc-title">客户类型：<span style="color: red;">*</span></div>
                                                    <div class="acc-con">
                                                        <div class="acc-con-main">
                                                            <input class="easyui-combobox" id= "custType"   name="custType" data-options="prompt:'请选择客户类型',required:true,editable:'false'" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="acc-items width33">
                                                    <div class="acc-title">客户标签：</div>
                                                    <div class="acc-con">
                                                        <div class="acc-con-main">
                                                            <input id ="custLabel" name ="custLabel"  type="text" class="easyui-textbox" data-options="prompt:'请填写客户标签',validType:['length[1,20]']"/>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="acc-row" style="margin-left:5px;">
                                                <div class="acc-items width33" style="width: 28%;">
                                                    <div class="acc-title">所在地址：</div>
                                                    <div class="acc-con">
                                                        <div class="acc-con-main">
                                                            <input class="easyui-combobox" id= "province"   name="province" data-options="prompt:'请选择所在省份'" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="acc-items width33" style="width: 28%;margin-left:-70px;">
                                                    <div class="acc-con">
                                                        <div class="acc-con-main">
                                                            <input class="easyui-combobox" id= "city"   name="city" data-options="prompt:'请选择所在市区'" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="acc-items width33" style="width: 28%;margin-left:-70px;">
                                                    <div class="acc-con">
                                                        <div class="acc-con-main">
                                                            <input class="easyui-combobox" id= "county"   name="county" data-options="prompt:'请选择所在区/县'" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="acc-items width33" style="width: 28%;margin-left:-70px;">
                                                    <div class="acc-con">
                                                        <div class="acc-con-main">
                                                            <input class="easyui-combobox" id= "town"  name="town" data-options="prompt:'请选择所在乡/镇'" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="acc-row" style="margin-left:5px;">
                                                <div class="acc-items width100">
                                                    <div class="acc-con">
                                                        <div class="acc-con-main"style="margin-right: 5px;">
                                                            <input class="easyui-textbox" id= "address"  name="address" data-options="prompt:'请填写详细地址',validType:['length[1,200]']" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="acc-row" style="margin-left:70px;">
                                                <a href="javascript:void(0)" id ="openSendMessageDialog"class="easyui-linkbutton resetButton" onclick="openSendMessageDialog();">发送短信</a>
                                                <%--<a href="http://www.uce.cn/affInfo/affInfoApply.html" id =""class="easyui-linkbutton resetButton" title="招商加盟" target="_blank">招商加盟</a>--%>
                                            </div>
                                        </div>
                                    </form>
                                    <form id ="custSerForm">
                                        <input type="hidden" id="id" name="id"/>
                                        <input type="hidden" id="source" name="source" value="0" />
                                        <input type="hidden" id="woKind" name="woKind" value="0" />
                                        <input type="hidden" name="urgeNum" value="0" />
                                        <input type="hidden" name="callNum" value="1" />
                                        <!--2018-07-25-->
                                        <input type="hidden" name="noWayBill" value="${noWayBill}"/>
                                        <input type="hidden" name="placeOrder" value="${placeOrder}"/>
                                        <!--用于校验手机号是否与最新查询一致-->
                                        <input type="hidden" id="customerTelSearch" name="customerTelSearch"  />
                                        <!--用于校验运单是否与最新查询一致-->
                                        <input type="hidden" id="waybillNumSearch" name="waybillNumSearch" />
                                    </form>

                                        <div class="form-title">工单信息</div>
                                        <div class="new-gongdan easyuitextbox gongdan-box">
                                            <form id ="gdForm">
                                            <div class="acc-row" style="margin-left:5px;">
                                                <div class="acc-items width33">
                                                    <div class="acc-title">来电号码：<span style="color: red;">*</span></div>
                                                    <div class="acc-con">
                                                        <div class="acc-con-main">
                                                            <c:choose>
                                                                <c:when test="${phone == ''}">
                                                                    <input type="text" name="telNumber" id="customerTel" value=""
                                                                           class="easyui-searchbox" data-options="required:true,validType:['phoneAndTelNum'],searcher:queryComprehensiveInformationByCustomerTel" />
                                                                </c:when>
                                                                <c:otherwise>
                                                                    <input type="text" name="telNumber" id="customerTel" value="${phone}" readonly="readonly"
                                                                           class="easyui-textbox" data-options=""/>
                                                                </c:otherwise>
                                                            </c:choose>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="acc-items width33">
                                                    <div class="acc-title">运单号码：</div>
                                                    <div class="acc-con">
                                                        <div class="acc-con-main">
                                                            <c:choose>
                                                                <c:when test="${waybillNo == ''}">
                                                                    <input id="waybillNum"
                                                                           name="wayBillNo"
                                                                           type="text" class="easyui-searchbox" data-options="validType:['length[1,30]','wayBillNum'],searcher:queryComprehensiveInformationByWaybillNum">
                                                                </c:when>
                                                                <c:otherwise>
                                                                    <input id="waybillNum"
                                                                           name="wayBillNo"
                                                                           type="text" class="easyui-searchbox" value="${waybillNo}" data-options="validType:['length[1,30]','wayBillNum'],searcher:queryComprehensiveInformationByWaybillNum">
                                                                </c:otherwise>
                                                            </c:choose>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="acc-items width33">
                                                    <div class="acc-title">工单类型：<span style="color: red;">*</span></div>
                                                    <div class="acc-con">
                                                        <div class="acc-con-main">
                                                            <input class="easyui-combobox" id= "neworderType"   name="complaintBigType" data-options="prompt:'请选择工单类型',editable:'false',required:true">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="acc-row" style="margin-left:5px;">
                                                <div class="acc-items width33">
                                                    <div class="acc-title">工单子类型：<span style="color: red;">*</span></div>
                                                    <div class="acc-con">
                                                        <div class="acc-con-main">
                                                            <input class="easyui-combobox" id="neworderChilType"  name="complaintLittleType" data-options="prompt:'请选择工单子类型',editable:'false',required:true">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="acc-items width33">
                                                    <div class="acc-title">货物名称：<span style="color: red;">*</span></div>
                                                    <div class="acc-con">
                                                        <div class="acc-con-main">
                                                            <input class="easyui-textbox" id= "goodsName"   name="consignName" data-options="prompt:'请输入货物名称',editable:'false'">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="acc-items width33">
                                                    <div class="acc-title">责任环节：<span style="color: red;">*</span></div>
                                                    <div class="acc-con">
                                                        <div class="acc-con-main">
                                                            <input class="easyui-combobox" id= "zrhj"   name="responsibilityLink" data-options="prompt:'请选择责任环节',editable:'false',required:true">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="acc-row" style="margin-left:5px;">
                                                <div class="acc-items width33" >
                                                    <div class="acc-title" style="">任务部门<span style="color: red;">*</span>：</div>
                                                    <div class="acc-con" >
                                                        <div class="acc-con-main">
                                                            <%--<input id="dutyWebsitess" name="dutyWebsite"  class="easyui-combobox" data-options="prompt:'请选择责任网点',editable:true"/>--%>
                                                            <select data-options="required:true" panelHeight="auto" id="xxdutyWebsite" class="easyui-combogrid" name="handleDepartmentName"></select>
                                                            <%--<input type ="hidden" id ="dutyDepartBaseCode" name ="dutyDepartBaseCode">--%>
                                                            <%--<input type ="hidden" id ="dutyDepartBaseName" name ="dutyDepartBaseName">--%>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="acc-items width33">
                                                    <div class="acc-title">回电时效：<span style="color: red;">*</span></div>
                                                    <div class="acc-con">
                                                        <div class="acc-con-main">
                                                            <select id="hdsx" class="easyui-combobox" data-options="required:true" name="callBackTimeWithin" style="width:200px;">
                                                                <%--<option value="AL">30分钟</option>--%>
                                                                <%--<option value="AK">60分钟</option>--%>
                                                                <%--<option value="AZ">90分钟</option>--%>
                                                                <%--<option value="AR">120分钟</option>--%>
                                                            </select>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                                <div class="acc-row" style="margin-left:5px;">
                                                    <div class="acc-items width100">
                                                        <div class="acc-title">问题描述：</div>
                                                        <div class="acc-con">
                                                            <div class="acc-con-main" style="margin-right: 5px;">
                                                                <input  id="orderRemark" name ="complaintReason" class="easyui-textbox"  data-options="multiline:true,required:true,prompt:'请填写问题描述',validType:['length[0,500]']" style="height:60px"  >
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </form>
                                            <div class="nxd" style="display: block">
                                                <form class="dzxxf" action="">
                                                    <div class="acc-row" style="margin-left:5px;">
                                                        <div class="acc-items width33">
                                                            <div class="acc-title" id="senderTitle">发件人：<span style="color: red;"></span></div>
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input type="text" name="senderName" id="sender"
                                                                           class="easyui-textbox" data-options="prompt:'发件人',validType:'length[1,40]',readonly:true"/>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="acc-items width33">
                                                            <div class="acc-title"  id="senderTelTitle">发件号码：<span style="color: red;"></span></div>
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input type="text" name="senderPhone" id="sendPhone"
                                                                           class="easyui-textbox" data-options="prompt:'发件电话',validType:'phoneAndTelNum',readonly:true"/>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="acc-items width33">
                                                            <div class="acc-title"  id="qszt">签收状态：<span style="color: red;"></span></div>
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input type="text" name="sigstatusName" id="qsztTel"
                                                                           class="easyui-textbox" data-options="prompt:'签收状态',readonly:true"/>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="acc-row" style="margin-left:5px;">
                                                        <div class="acc-items width100">
                                                            <div class="acc-con">
                                                                <div class="acc-con-main" style="margin-right: 5px;">
                                                                    <input id="sendAddress" name="senderAdderss" data-options="prompt:'发件详细地址',validType:'length[1,256]',readonly:true" type="text" class="easyui-textbox" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="acc-row" style="margin-left:5px;">
                                                        <div class="acc-items width33">
                                                            <div class="acc-title" id="receiverTitle">收件人：<span style="color: red;"></span></div>
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input id ="receiver" name ="recipName" type="text" class="easyui-textbox" data-options="prompt:'收件人',validType:'[length[1,10],names]',readonly:true"/>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="acc-items width33">
                                                            <div class="acc-title" id="qslx">收件号码：<span style="color: red;"></span></div>
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input id ="qslxTel" name ="recipPhone" type="text" class="easyui-textbox" data-options="prompt:'收件号码',validType:'phoneAndTelNum',readonly:true"/>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="acc-items width33">
                                                            <div class="acc-title" id="receiverTelTitle">签收类型：<span style="color: red;"></span></div>
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input id ="qslx"  name ="sigTypeName" type="text" class="easyui-textbox" data-options="readonly:true,prompt:'签收类型',"/>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="acc-row" style="margin-left:5px;">
                                                        <div class="acc-items width100">
                                                            <div class="acc-con">
                                                                <div class="acc-con-main" style="margin-right: 5px;">
                                                                    <input id ="receiveAddress" name="recipAdress" data-options="prompt:'收件详细地址',validType:'length[1,256]',readonly:true" type="text" class="easyui-textbox"/>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </form>
                                            </div>
                                            <div class="xd" style="display: none">
                                                <form id="msgForm">
                                                    <div class="acc-row" style="margin-left:5px;">
                                                        <div class="acc-items width33">
                                                            <div class="acc-title" id="senderTitle">发件人：<span style="color: red;"></span></div>
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input type="text" name="sender" id="sender"
                                                                           class="easyui-textbox" data-options="prompt:'请输入发件人',validType:'length[1,40]',required:true"/>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="acc-items width33">
                                                            <div class="acc-title"  id="senderTelTitle">发件号码：<span style="color: red;"></span></div>
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input type="text" name="sendPhone" id="sendPhone"
                                                                           class="easyui-textbox" data-options="prompt:'请输入发件电话',validType:'phoneAndTelNum',required:true"/>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <%--<div class="acc-items width33">--%>
                                                            <%--<div class="acc-title"  id="qszt">签收状态：<span style="color: red;"></span></div>--%>
                                                            <%--<div class="acc-con">--%>
                                                                <%--<div class="acc-con-main">--%>
                                                                    <%--<input type="text" name="senderTel" id="qsztTel"--%>
                                                                           <%--class="easyui-textbox" data-options="prompt:'签收状态',validType:'phoneAndTelNum'"/>--%>
                                                                <%--</div>--%>
                                                            <%--</div>--%>
                                                        <%--</div>--%>
                                                    </div>
                                                    <div class="acc-row" style="margin-left:5px;">
                                                        <div class="acc-items width33" style="width: 28%;">
                                                            <div class="acc-title" id="sendAddressTitle">发件地址：<span style="color: red;"></span></div>
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input class="easyui-combobox" id= "sendProvince"   name="sendProvince" data-options="prompt:'请选择发件省份',required:true" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="acc-items width33" style="width: 28%;margin-left:-70px;">
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input class="easyui-combobox" id= "sendCity"   name="sendCity" data-options="prompt:'请选择发件市区',required:true" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="acc-items width33" style="width: 28%;margin-left:-70px;">
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input class="easyui-combobox" id= "sendArea"   name="sendRegion" data-options="prompt:'请选择发件区/县',required:true" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="acc-items width33" style="width: 28%;margin-left:-70px;">
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input class="easyui-combobox" id= "sendTown"  name="deliverStreet" data-options="prompt:'请选择发件乡/镇'" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="acc-row" style="margin-left:5px;">
                                                        <div id="width77" class="acc-items width100">
                                                            <div class="acc-con">
                                                                <div class="acc-con-main" style="margin-right: 5px;">
                                                                    <input id="sendAddress1" name="Street" data-options="prompt:'请填写发件详细地址',validType:['length[1,200]','testnames'],required:true" type="text" class="easyui-textbox" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="acc-items width33">
                                                            <div class="acc-con">
                                                                <div class="acc-con-main" style="margin-right: 5px;">
                                                                    <a style="background: yellow" href="javescript:void(0)" onclick="wdcxlj(0)" class="easyui-linkbutton" data-options="">查询网点</a>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="acc-row" style="margin-left:5px;">
                                                        <div class="acc-items width33">
                                                            <div class="acc-title" id="receiverTitle">收件人：<span style="color: red;"></span></div>
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input id ="receiver" name ="receiver" type="text" class="easyui-textbox" data-options="prompt:'请填写收件人',validType:['length[1,10]','testnames'],required:true"/>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="acc-items width33">
                                                            <div class="acc-title" id="qslx">收件号码：<span style="color: red;"></span></div>
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input id ="qslxTel" name ="receiverTel" type="text" class="easyui-textbox" data-options="prompt:'请填写收件号码',validType:'phoneAndTelNum',required:true"/>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <%--<div class="acc-items width33">--%>
                                                            <%--<div class="acc-title" id="receiverTelTitle">签收类型：<span style="color: red;"></span></div>--%>
                                                            <%--<div class="acc-con">--%>
                                                                <%--<div class="acc-con-main">--%>
                                                                    <%--<input id ="qslx"  name ="" type="text" class="easyui-textbox" data-options="editable:false"/>--%>
                                                                <%--</div>--%>
                                                            <%--</div>--%>
                                                        <%--</div>--%>
                                                    </div>
                                                    <div class="acc-row" style="margin-left:5px;">
                                                        <div class="acc-items width33" style="width: 28%;">
                                                            <div class="acc-title" id="receiveAddressTitle">收件地址：<span style="color: red;"></span></div>
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input class="easyui-combobox" id= "receiveProvince"   name="provinces" data-options="prompt:'请选择收件省份',required:true" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="acc-items width33" style="width: 28%;margin-left:-70px;">
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input class="easyui-combobox" id= "receiveCity"   name="citys" data-options="prompt:'请选择收件市区',required:true" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="acc-items width33" style="width: 28%;margin-left:-70px;">
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input class="easyui-combobox" id= "receiveArea"   name="countys" data-options="prompt:'请选择收件区/县',required:true" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="acc-items width33" style="width: 28%;margin-left:-70px;">
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input class="easyui-combobox" id= "receiveTown"  name="counStreet" data-options="prompt:'请选择收件乡/镇'" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="acc-row" style="margin-left:5px;">
                                                        <div id="width77" class="acc-items width100">
                                                            <div class="acc-con">
                                                                <div class="acc-con-main" style="margin-right: 5px;">
                                                                    <input id ="receiveAddress1" name="towns" data-options="prompt:'请填写收件详细地址',validType:['length[1,200]','testnames'],required:true" type="text" class="easyui-textbox"/>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="acc-items width33">
                                                            <div class="acc-con">
                                                                <div class="acc-con-main" style="margin-right: 5px;">
                                                                    <a style="background: yellow" href="javescript:void(0)" onclick="wdcxlj(1)" class="easyui-linkbutton" data-options="">查询网点</a>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="acc-row" style="margin-left:5px;">
                                                        <div class="acc-items width100">
                                                            <div class="acc-title">备注：</div>
                                                            <div class="acc-con">
                                                                <div class="acc-con-main" style="margin-right: 5px;">
                                                                    <input  id="memo" name ="memo" class="easyui-textbox"  data-options="multiline:true,prompt:'请填写问题描述',validType:['length[0,500]']" style="height:60px"  >
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </form>
                                                <form action="#" id="con-form">
                                                    <div class="acc-row" style="margin-left:5px;">
                                                        <div class="acc-items width33" >
                                                            <div class="acc-title">件数：<span style="color: red;"></span></div>
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input id="qty" name="quantity"  class="easyui-textbox" data-options="prompt:'请输入件数',validType:['length[1,3]','number',['limit[1,300]']],invalidMessage:'请输入正确范围[1~300]',editable:true,required:true"/>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="acc-items width33">
                                                            <div class="acc-title">总质量：<span style="color: red;"></span></div>
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input name="weight" id="goodsWeight"
                                                                           class="easyui-textbox" data-options="prompt:'请输入重量KG',validType:['length[1,15]','money',['limit[0.1,9999.99]']],invalidMessage:'请输入正确范围[0.1~9999.99]',required:true"/>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="acc-row" style="margin-left:5px;">
                                                        <div class="acc-items width33" >
                                                            <div class="acc-title">体积：<span style="color: red;"></span></div>
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <%--'number',['limit[1,300]']],invalidMessage:'请输入正确范围[1~300]',--%>
                                                                    <input id="long" name="s"  class="easyui-textbox" data-options="prompt:'长/cm',validType:['length[1,3]'],editable:true,required:true"/>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="acc-items width33" style="width: 28%;margin-left:-70px;" >
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <%--'number',['limit[1,300]']],invalidMessage:'请输入正确范围[1~300]',--%>
                                                                    <input id="width" name="w"  class="easyui-textbox" data-options="prompt:'宽/cm',validType:['length[1,3]'],editable:true,required:true"/>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="acc-items width33" style="width: 28%;margin-left:-70px;" >
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input id="hight" name="h"  class="easyui-textbox" data-options="prompt:'高/cm',validType:['length[1,3]'], editable:true,required:true"/>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="acc-items width33" style="width: 35%;margin-left:-70px;" >
                                                            <div class="acc-con">
                                                                <div class="acc-con-main">
                                                                    <input id="tj" name="volume"  class="easyui-textbox" data-options="prompt:'体积/m³',validType:['length[1,4]'],editable:true,required:true,buttonText:'计算'"/>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="acc-row" style="margin-left:5px;">
                                                        <div style="display: flex;justify-content: space-around;padding: 5px 0">
                                                            <div>
                                                                <input value="1" type="radio" checked name="visitDelivery"  id="visitDelivery">
                                                                <span>网上上门提货</span>
                                                            </div>
                                                            <div>
                                                                <input value="0" type="radio" name="visitDelivery" id="">
                                                                <span>客户上门发货<span style='color:red;font-size:12px'>费用面议</span></span>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="acc-row" style="margin-left:5px;">
                                                        <div style="display: flex;justify-content: space-around;padding: 5px 0">
                                                            <div>
                                                                <span>是否保价</span>
                                                                <input name="isOffer" value="1" type="checkbox"  id="bjc">
                                                                <input data-options="disabled:true" name="offerMoney" class="easyui-textbox" type="number"  id="bji">
                                                            </div>
                                                            <div>
                                                                <span>是否代收</span>
                                                                <input value="1" type="checkbox" name="isCollection" id="dsc">
                                                                <input type="number" data-options="disabled:true" name="collectionMoney" class="easyui-textbox" id="dsi">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </form>
                                            </div>

                                        </div>
                                    <div style="text-align:center;padding:5px;margin-top: 10px;">
                                        <%--submitInfo--%>
                                        <a href="javascript:void(0)" id ="submitButton"class="easyui-linkbutton resetButton" onclick="cjgd()">提交</a>
                                        <%--<a href="javascript:void(0)" id ="xdbtn"class="easyui-linkbutton resetButton" onclick="xd()">下单</a>--%>
                                    </div>
                                </div>
                            </div>
                            <div title="处理中工单">
                                <div class="wuliu-show newcl" style="display: block;margin-left:-90px;">
                                    <div class="wuliuxx">
                                        <div class="" >
                                            <table id="newprocessingCustSerOrderDataGrid"  style="width:95%;min-height:500px;max-height: 105%;" data-options=""></table>
                                        </div>
                                    </div>
                                </div>
                                <%--<div class="wuliu-show oldcl" style="margin-left:-90px;">--%>
                                    <%--<div class="wuliuxx">--%>
                                        <%--<div class="table-edit2" >--%>
                                            <%--<table id="processingCustSerOrderDataGrid"  style="width:95%;min-height:500px;max-height: 105%;" data-options=""></table>--%>
                                        <%--</div>--%>
                                    <%--</div>--%>
                                <%--</div>--%>
                            </div>
                            <div title="已完结工单">
                                <div class="wuliu-show" style="margin-left:-90px;">
                                    <div class="wuliuxx">
                                        <div class="table-edit2" >
                                            <table id="ywjgdTable"  style="width:95%;min-height:500px;max-height: 105%;"  data-options=""></table>
                                        <%--<table id="finishedCustSerOrderDataGrid"  style="width:95%;min-height:500px;max-height: 105%;" data-options="collapsible:true,border:0"></table>--%>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <!--左侧结束-->


                <!--右侧开始-->
                <div class="rightTab rightTab2" style="position: relative;">
                    <div class="easyui-tabs" style="margin-right: -10px;" id ="rightWaybillTab">
                        <%--<div title="机器人问答">--%>
                            <%--<div class="history-show">--%>
                                <%--<div class="historyxx">--%>
                                    <%--<div class="table-edit2 js-c-showtable" >--%>
                                        <%--<div id="tabsxyc" class="easyui-tabs" style="width:500px;height: 500px">--%>

                                        <%--</div>--%>
                                    <%--</div>--%>
                                    <%--<!--表格结束-->--%>
                                <%--</div>--%>
                            <%--</div>--%>
                        <%--</div>--%>
                        <div title="物流信息">
                            <div class="">
                                <div class="">
                                    <div style="display: none;color: red;padding: 10px 0;" class="wd">
                                        <span class="startPoint pointSapan"></span> --> <span class="endPoint pointSapan"></span>
                                    </div>
                                    <div class="routeName"></div>
                                    <a href="javascript:void(0)" class="easyui-linkbutton  save" onclick="sxDiaShow()" >路由时效</a>
                                    <!--表格开始-->
                                    <div class="jusst" >
                                        <table id="newlogisticsInformationDataGrid" class="easyui-datagrid" data-options="striped:true">
                                        </table>
                                    </div>
                                    <div id="wtjp" class="easyui-accordion" style="width:100%">
                                        <div title="问题件" data-options="selected:false" style="padding:10px;">
                                            <div class="table-edit2 js-c-showtable" >
                                                <table id="newproblemInformationDataGrid" class="easyui-datagrid" data-options="collapsible:true,border:0,striped:true">
                                                </table>
                                            </div>
                                        </div>
                                    </div>
                                    <!--表格结束-->
                                </div>
                            </div>
                        </div>
                        <div title="运单信息">
                            <div class="yundan-wrap">
                                <div class="nydxx" >
                                    <div class="easyui-accordion" id="accordion" data-options="multiple:true" style="width:100%;">
                                        <div title="运单信息" data-options="selected:true" style="padding:10px;">
                                            <table class="ydxxtable0 xyctable">
                                                <tr>
                                                    <th>运单编号</th>
                                                    <td id="wayNum"></td>
                                                </tr>
                                                <tr>
                                                    <th>关联单号</th>
                                                    <td id="asoNum"></td>
                                                </tr>
                                                <tr>
                                                    <th>服务方式</th>
                                                    <td id="serMethodName"></td>
                                                </tr>
                                                <tr>
                                                    <th>创建时间</th>
                                                    <td id="creaTime"></td>
                                                </tr>
                                                <tr>
                                                    <th>产品类型</th>
                                                    <td id="proTypeName"></td>
                                                </tr>
                                                <tr>
                                                    <th>业务类型</th>
                                                    <td id="busTypeName"></td>
                                                </tr>
                                                <tr>
                                                    <th>经营属性</th>
                                                    <td id="busiAttrName"></td>
                                                </tr>
                                            </table>
                                        </div>
                                        <div title="货物信息" data-options="selected:true" style="padding:10px;">
                                            <table class="ydxxtable1 xyctable">
                                                <tr>
                                                    <th>货物名称</th>
                                                    <td class="goodsName"></td>
                                                    <th>件数</th>
                                                    <td class="goodsAmount"></td>
                                                </tr>
                                                <tr>
                                                    <th>重量</th>
                                                    <td class="goodsWeight"></td>
                                                    <th>计费重量</th>
                                                    <td class="goodsBillWeight"></td>
                                                </tr>
                                            </table>
                                        </div>
                                        <div title="结算信息" data-options="selected:true" style="padding:10px;">
                                            <table class="ydxxtable2 xyctable">
                                                <tr>
                                                    <th>结算类型</th>
                                                    <td class="billTypeName"></td>
                                                    <th>合计运费：</th>
                                                    <td class="billCost"></td>
                                                    <th>纯运费：</th>
                                                    <td class="billFare"></td>
                                                </tr>
                                                <tr>
                                                    <th>付款类型</th>
                                                    <td class="billFare"></td>
                                                    <th>付款类型</th>
                                                    <td class="billPayTypeName"></td>
                                                    <th>寄付费</th>
                                                    <td class="billSendPay"></td>
                                                </tr>
                                            </table>
                                        </div>
                                        <div title="增值服务信息" data-options="selected:true" style="padding:10px;">
                                            <table class="ydxxtable3 xyctable">
                                                <tr>
                                                    <th>代收款</th>
                                                    <td class="proxyPay"></td>
                                                    <th>保价类型</th>
                                                    <td class="insureTypeName"></td>
                                                    <th>返款时效</th>
                                                    <td class="payRebateName"></td>
                                                </tr>
                                                <tr>
                                                    <th>转账状态</th>
                                                    <td class="transStatus"></td>
                                                    <th>操作状态</th>
                                                    <td class="operatStateName"></td>
                                                    <th>转账结果</th>
                                                    <td class="transResult"></td>
                                                </tr>
                                                <tr>
                                                    <th>代收服务费</th>
                                                    <td class="proxySerFree"></td>
                                                    <th>申明价值</th>
                                                    <td class="affValue"></td>
                                                    <th>保价服务费</th>
                                                    <td class="insureSerFee"></td>
                                                </tr>
                                                <tr>
                                                    <th>银行账号</th>
                                                    <td class="bankAccount"></td>
                                                </tr>
                                                <tr>
                                                    <th>失败原因</th>
                                                    <td class="failReason"></td>
                                                </tr>
                                                <tr>
                                                    <th>收款人</th>
                                                    <td class="payee"></td>
                                                    <th>银行类型</th>
                                                    <td class="bankTypeName"></td>
                                                    <th>是否签回单</th>
                                                    <td class="issign"></td>
                                                </tr>
                                                <tr>
                                                    <th>转账时间</th>
                                                    <td class="transTime"></td>
                                                    <th>回单费</th>
                                                    <td class="returnFee"></td>
                                                    <th>返单份数</th>
                                                    <td class="returnCopies"></td>
                                                </tr>
                                            </table>
                                        </div>
                                        <div title="其他" data-options="selected:true" style="padding:10px;">
                                            <table class="ydxxtable4 xyctable">
                                                <tr>
                                                    <th>运单创建人</th>
                                                    <td class="wayCreator"></td>
                                                    <th>手工单标识</th>
                                                    <td class="manMarkName"></td>
                                                    <th>货单号</th>
                                                    <td class="invNum"></td>
                                                </tr>
                                                <tr>
                                                    <th>数据来源</th>
                                                    <td class="dataSourceName"></td>
                                                    <th>寄件时间</th>
                                                    <td class="sendTime"></td>
                                                    <th>转寄地</th>
                                                    <td class="forwardAddress"></td>
                                                </tr>
                                                <tr>
                                                    <th>经由网点</th>
                                                    <td class="viaOutlet"></td>
                                                    <th>派送小区</th>
                                                    <td class="deliveryAddress"></td>
                                                    <th>转寄费</th>
                                                    <td class="forwardFee"></td>
                                                </tr>
                                                <tr>
                                                    <th>会员卡号</th>
                                                    <td class="memCardNum"></td>
                                                </tr>
                                                <tr>
                                                    <th>包装</th>
                                                    <td class="goodsPackage"></td>
                                                </tr>
                                                <tr>
                                                    <th>体积</th>
                                                    <td class="goodsVolume"></td>
                                                    <th>包装费</th>
                                                    <td class="goodsPackFee"></td>
                                                    <th>计费单位</th>
                                                    <td class="goodsBillUnit"></td>
                                                </tr>
                                                <tr>
                                                    <th>包装备注</th>
                                                    <td class="goodsRemark"></td>
                                                    <th>优惠券</th>
                                                    <td class="goodsCoupon"></td>
                                                    <th>优惠金额</th>
                                                    <td class="couponPrice"></td>
                                                </tr>
                                                <tr>
                                                    <th>包装备注</th>
                                                    <td class="goodsRemark"></td>
                                                    <th>优惠券</th>
                                                    <td class="goodsCoupon"></td>
                                                    <th>优惠金额</th>
                                                    <td class="couponPrice"></td>
                                                </tr>
                                                <tr>
                                                    <th>付款金额</th>
                                                    <td class="billPayAmount"></td>
                                                    <th>寄付款金额</th>
                                                    <td class="billSendPayAmount"></td>
                                                    <th>代收运费</th>
                                                    <td class="proxyFree"></td>
                                                </tr>
                                                <tr>
                                                    <th>返单张数</th>
                                                    <td class="returnSheets"></td>
                                                    <th>服务费</th>
                                                    <td class="servFee"></td>
                                                    <th>转运费</th>
                                                    <td class="transFee"></td>
                                                </tr>
                                                <tr>
                                                    <th>发票税费</th>
                                                    <td class="invoiceTax"></td>
                                                    <th>回扣</th>
                                                    <td class="rebate"></td>
                                                    <th>短信费</th>
                                                    <td class="msgFee"></td>
                                                </tr>
                                                <tr>
                                                    <th>下派送费</th>
                                                    <td class="downDeliveryFee"></td>
                                                    <th>上派送费</th>
                                                    <td class="upDeliveryFee"></td>
                                                    <th>力资费</th>
                                                    <td class="capitalFee"></td>
                                                </tr>
                                                <tr>
                                                    <th>上楼费</th>
                                                    <td class="upfloorFee"></td>
                                                    <th>垫运费</th>
                                                    <td class="padFee"></td>
                                                    <th>入仓费</th>
                                                    <td class="depotFee"></td>
                                                </tr>
                                                <tr>
                                                    <th>装卸费</th>
                                                    <td class="proxyFree"></td>
                                                    <th>制单费</th>
                                                    <td class="probillFee"></td>
                                                    <th>上门接货费</th>
                                                    <td class="toDoorRecFee"></td>
                                                </tr>
                                                <tr>
                                                    <th>通知费</th>
                                                    <td class="noticeFee"></td>
                                                    <th>叉车费</th>
                                                    <td class="forkliftFee"></td>
                                                    <th>仓管费</th>
                                                    <td class="warehouseFee"></td>
                                                </tr>
                                                <tr>
                                                    <th>其他费用</th>
                                                    <td class="otherFee"></td>
                                                </tr>
                                            </table>
                                        </div>
                                    </div>

                                </div>
                            </div>
                        </div>
                        <div title="运单信息变更">
                            <div class="wentijian" id ="childInformationDiv" style="width: 100%">
                                <div class=" js-wuliuxx2">
                                    <!--表格开始-->
                                    <div class="table-edit2 js-c-showtable" >
                                        <table id="childInformationDataGrid" class="easyui-datagrid" data-options="singleSelect:true,collapsible:true,border:0,striped:true">
                                        </table>
                                    </div>
                                    <!--表格结束-->
                                </div>
                            </div>
                        </div>
                        <div title="代收货款">
                            <div class="wuliu-show wentijian th0" >
                                <!--表格开始-->
                                <div class="table-edit2" >
                                    <table id="dshkgrid" class="easyui-datagrid" data-options="collapsible:true,border:0,striped:true">
                                    </table>
                                </div>
                                <!--表格结束-->
                            </div>
                        </div>
                    </div>

                    <!--浮动层开始  问题件信息展示代码-->
                    <div class="fudong-table hidebox"  id ="dealRecords" style="display: none;">
                        <img src="${ctx}/uce/images/jiantou.png"/>
                        <table class="easyui-datagrid" id ="dealRecordsDataGird" data-options="singleSelect:true,collapsible:true,border:0,striped:true">
                        </table>
                    </div>
                    <!--浮动层结束-->

                    <!--浮动层开始-->
                    <div class="fudong-table hidebox" id ="childLogistics" style="display: none;">
                        <img src="${ctx}/uce/images/jiantou.png"/>
                        <table  id ="childLogisticsDataGrid" class="easyui-datagrid" data-options="collapsible:true,border:0,striped:true">
                        </table>
                    </div>
                    <!--浮动层结束-->

                </div>
                <!--右侧结束-->
            </div>
        </div>
    </div>
</div>
<!--手动选择处理人弹窗-->
<div id="dlgSelOrg" class="easyui-dialog"
     style="width: 450px; height: 300px; padding: 5px" closed="true" buttons="#divSelOrgBtn">
    <div class="easyui-layout" data-options="fit:true">
        <div data-options="region:'center',border:false"
             style="padding: 15px 20px; background: #fff;">
            <form id="formSelOrg" class="hgform">
                <div class="accordion-container easyuitextbox">
                    <div class="acc-row">
                        <div class="acc-items width200">
                            <div class="acc-title">责任方：</div>
                            <div class="acc-con">
                                <div class="acc-con-main">
                                    <input id="selDutyOrg" name="selDutyOrg"  class="easyui-combotree" data-options="prompt:'请选择责任方',editable:'false',required:true"/>
                                    <input type="hidden" id="selDutyOrgType" name="selDutyOrgType" />
                                    <input type="hidden" id="selDutyOrgName" name="selDutyOrgName" />
                                    <input type="hidden" id="selDutyOrgCode" name="selDutyOrgCode" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<div id="divSelOrgBtn">
    <a href="javascript:void(0)" class="easyui-linkbutton  save" onclick="sure(this)" >确定</a>
    <a href="javascript:void(0)" class="easyui-linkbutton call" onclick="javascript:closeDialog('dlgSelOrg')">取消</a>
</div>

<!--发送消息弹窗-->
<div id="sendMessageDialog" class="easyui-dialog"
     style="width: 600px; height: 300px; padding: 5px" closed="true" buttons="#sendMessageDialogBtn">
    <div class="easyui-layout" data-options="fit:true">
        <div data-options="region:'center',border:false"
             style="padding: 15px 20px; background: #fff;">
            <form id="formSendMessage" class="hgform">
                <div class="accordion-container easyuitextbox">
                    <div class="acc-row">
                        <div class="acc-items width100">
                            <div class="acc-title">发送号码<span style="color: red;">*</span>：</div>
                            <div class="acc-con">
                                <div class="acc-con-main">
                                    <input id="sendPhones" name="sendPhone"  class="easyui-textbox" data-options="prompt:'请输入手机号',required:true,validType:['phone']" />
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="acc-row">
                        <div class="acc-items width100">
                            <div class="acc-title">网点<%--<span style="color: red;">*</span>--%>：</div>
                            <div class="acc-con">
                                <div class="acc-con-main">
                                    <select style="width: 200px" panelHeight="auto" id="wdmsg" class="easyui-combogrid" name="dutyWebsite">
                                    </select>
                            </div>
                        </div>
                    </div>

                    <div class="acc-row">
                        <div class="acc-items width100">
                            <div class="acc-title">发送内容<span style="color: red;">*</span>：</div>
                            <div class="acc-con">
                                <div class="acc-con-main">
                                    <input  id="sendContent" name ="sendContent" class="easyui-textbox"  data-options="multiline:true,required:true,prompt:'请输入短信内容'" style="height:60px">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<div id="sendMessageDialogBtn">
    <a href="javascript:void(0)" class="easyui-linkbutton  save" id="sendPhoneMessageButton" onclick="sendPhoneMessage()" >发送</a>
    <a href="javascript:void(0)" class="easyui-linkbutton call" onclick="javascript:closeDialog('sendMessageDialog')">取消</a>
</div>
<div id="wxx" class="easyui-window" title="路由时效" data-options="iconCls:'icon-save',modal:true,closed:true,top:'30px'" style="width:900px;height:500px;padding:10px;">
    <div class="nr">
        <form id="cxform" action="">
            <input width="200" class="easyui-combogrid" id="qswd"	 labelAlign="right" label="起始网点:" labelPosition="left" name="startPoint" data-options="prompt:'请输入'">
            <input width="200" class="easyui-combogrid" id="zdwd" labelAlign="right" label="终点网点:" labelPosition="left" name="endPoint" data-options="prompt:'请输入'">
            <input style="width: 200px;" class="easyui-combobox" id="cplx"  labelAlign="right" label="产品类型:" labelPosition="left" name="proType" data-options="prompt:'请输入'">
            <input style="width: 200px" id="ctime" class="easyui-datetimebox"  labelAlign="right" label="录单时间:" labelPosition="left" name="newBillTime" data-options="prompt:'请输入'">
            <a href="javascript:void(0)" class="easyui-linkbutton call" onclick="cxsx()">查询</a>
        </form>
        <div class="ttt"><span>标准时效：</span><span class="textData rtime"></span></div>
        <div class="ttt"><span>标准路由：</span><span class="textData ttext"></span></div>
        <table id="lysxTable" class="easyui-datagrid" data-options="collapsible:true,border:0,striped:true">
        </table>
    </div>
</div>
<%--工单详情--%>
<div id="diaGd" class="easyui-window" title="工单详情" data-options="iconCls:'icon-save',modal:true,closed:true,top:'30px'" style="width:95%;height:95%;padding:10px;">
    <div content="">
        <table class="gdxqTable zdTable">
            <tr>
                <th>运单编号</th>
                <td class="workBillNo"></td>
                <th>运单号</th>
                <td class="wayBillNo"></td>
                <th>联系电话</th>
                <td class="telNumber"></td>
                <th>创建时间</th>
                <td class="createrTime"></td>
            </tr>
            <tr>
                <th>客户称呼</th>
                <td class="customerName"></td>
                <th>客户类型</th>
                <td class="customerTypeName"></td>
                <th>创建人</th>
                <td class="createrName"></td>
                <th>创建部门</th>
                <td class="createrDepartmentName"></td>
            </tr>
            <tr>
                <th>所属省区</th>
                <td class="createrProvinceName"></td>
                <th>客诉来源</th>
                <td class="customerComplaintSourceName"></td>
                <th>投诉大类</th>
                <td class="complaintBigTypeName"></td>
                <th>投诉小类</th>
                <td class="complaintLittleTypeName"></td>
            </tr>
            <tr>
                <th>任务部门</th>
                <td class="handleDepartmentName"></td>
                <th>所属省区</th>
                <td class="handleProvinceName"></td>
                <th>责任环节</th>
                <td class="responsibilityLinkName"></td>
                <th>回电时效</th>
                <td class="callBackTime"></td>
            </tr>
            <tr>
                <th>投诉次数</th>
                <td class="repeatComplaintCount"></td>
                <th>工单类型</th>
                <td class="complaintantName"></td>
                <th>升级次数</th>
                <td class="billStatusName"></td>
                <th>工单状态</th>
                <td class="billStatusName"></td>
            </tr>
            <tr>
                <th>经营属性</th>
                <td class="businessTypeName"></td>
                <th>AB网类型</th>
                <td class="abTypeName"></td>
                <th>
                    <a style="background: #ffbc00" href="javascript:void(0)" class="easyui-linkbutton  ts" onclick="$('#reComplain').dialog('open')" >重复投诉</a>
                </th>
            </tr>
            <tr>
                <th>投诉内容</th>
                <td colspan="7" class="complaintReason"></td>
            </tr>
        </table>
        <div id="tttabs" class="easyui-tabs" style="width:100%;">
            <div title="处理记录" style="padding:20px;">
                <table class="easyui-datagrid chulijilu" style="width: 100%">

                </table>
            </div>
            <div title="流转记录"   style="width:100%;overflow:auto;padding:20px;display:none;">
                <table class="easyui-datagrid liuzhuanjilu">

                </table>
            </div>
        </div>
    </div>
</div>
<%--问题件详情--%>
<div id="diaWTJ" class="easyui-window" title="问题件详情" data-options="iconCls:'icon-save',modal:true,closed:true,top:'30px'" style="width:900px;height:500px;padding:10px;">
    <div style="width: 100%" class="contentss">
        <table class="wtjxqTable zdTable">
            <tr>
                <th>问题件上报信息</th>
            </tr>
            <tr>
                <th>运单号：</th>
                <td class="wayBillNumber"></td>
                <th>是否需要回复：</th>
                <td class="needToReply"></td>
                <th>上报企业：</th>
                <td class="reportingToTheCompany"></td>
                <th>接收部门：</th>
                <td class="receivingDepartment"></td>
            </tr>
            <tr>
                <th>异常件数：</th>
                <td class="numberOfAbnormalParts"></td>
                <th>车牌号：</th>
                <td class="numberPlate"></td>
                <th>接收企业：</th>
                <td class="receivingCompany"></td>
                <th>问题类型：</th>
                <td class="questionType"></td>
            </tr>
            <tr>
                <th>包装方式：</th>
                <td class="packing"></td>
                <th>配载单号：</th>
                <td class="loadingOrderNumber"></td>
                <th>上报部门：</th>
                <td class="reportingDepartment"></td>
                <th>问题类别：</th>
                <td class="problemCategory"></td>
            </tr>
            <tr>
                <th>业务类型：</th>
                <td class="businessType"></td>
            </tr>
            <tr>
                <th>问题详情：</th>
                <td colspan="7" style="max-width: 700px" class="problemDetails"></td>
            </tr>
        </table>
        <h2>回复信息</h2>
        <table id="talkRep" style="height: 245px" width="100%" class="easyui-datagrid" data-options="collapsible:true,striped:true">
        </table>
    </div>
</div>
<%--重复投诉弹窗--%>
<div id="reComplain" class="easyui-dialog"  title="重复投诉" style="width:400px;height:300px;" data-options="iconCls:'icon-save',resizable:true,modal:true,iconCls: 'icon-save',
				toolbar: '#dlg-toolbar',
				buttons: '#dlg-buttons',
				closed:true
">
    <div style="padding: 20px">
        <input class="easyui-textbox reComplainReson" maxlength="300" data-options="multiline:true,label:'处理内容：',validType:'length[1,300]'" style="width:320px;height: 150px">
    </div>
</div>
<div id="dlg-buttons">
    <a href="javascript:void(0)" class="easyui-linkbutton" onclick="cfts()">提交</a>
    <a href="javascript:void(0)" class="easyui-linkbutton" onclick="$('#reComplain').dialog('close')">关闭</a>
</div>
</body>
<style>
    .xyctable td{
        padding:10px 3px;
        min-width: 15%;
        text-align: left;
    }
    .xyctable th{
        padding:10px 3px;
        font-weight: 600;
    }
    .xyctable{
        text-align: center;
    }
    .zdTable{
        width: 100%;
        font-size: 12px;
    }
    .zdTable td{
        padding:10px 3px;
        min-width: 15%;
        text-align: left;
    }
    .zdTable th{
        /*width: 80px;*/
        padding:10px 3px;
        font-weight: 600;
        /*text-align: right;*/
    }
</style>
<script>
    function isUn(str) {
        if(str){
            return str;
        }else{
            return ""
        }
    }
//    function ajaxRobit() {
//        $.ajax({
//            url: G_CTX_PATH + "/cc/CcRobotRecord/findCcRoBotRecord.do",
//            data:{
//                callPhoneNum:$("#custSerForm #customerTel").val()
//            },
//            success:function (data) {
//                console.log(data);
//                if(data.success){
//                    var rows = data.data;
//                    // 处理聊天记录数据
//                    var tabsHtml=""
//                    for(var i=0;i<rows.length;i++){
//                        var tabs = $("<div title='聊天"+(i+1)+"' style='padding:20px;'></div>");
//                        var boxHtml=$("<div class='box'></div>")
//                        var contentHtml = $('<div class="dhBox"></div>');
//                        var ltData=rows[i].communicationContent.split("/");
//                        var isZC=rows[i].normalEnd?'是':'否'
//                        var formHtml=$("<table class='xyctable' border='1' cellspacing='0'>"+
//                        "<tr>"+
//                        "<th>录音编号</th>"+
//                        "<th>来电号码</th>"+
//                        "<th>客户来电区域</th>"+
//                        "<th>单号</th>"+
//                        "<th>是否正常结束流程</th>"+
//                        "<th>挂机类型</th>"+
//                        "<th>呼入来电意图清单</th>"+
//                        "</tr>"+
//                        "<tr>"+
//                        "<td style='max-width: 100px;word-break: break-all'>"+rows[i].voiceId+"</td>"+
//                        "<td>"+rows[i].callPhoneNum+"</td>"+
//                        "<td>"+rows[i].callArea+"</td>"+
//                        "<td>"+rows[i].billCode+"</td>"+
//                        "<td>"+rows[i].normalEndStr+"</td>"+
//                        "<td>"+ isUn(rows[i].endTypeStr)+"</td>"+
//                        "<td>"+isUn(rows[i].callIntentionList)+"</td>"+
//                        "</tr>"+
//                        "</table>");
//                        boxHtml.append(formHtml);
//                        var resultArr=[];
//                        for(var a=0;a<ltData.length;a++){
//                            var ltContent="";
//                            if(ltData[a][0]=="R"){
//                                // lsObj.R=ltData[a].substring(2);
//                                if(ltData[a].substring(2)!==""){
//                                    ltContent='<div class="right">'
//                                            +'<div class="right-text">'
//                                            +'<span class="contents">'
//                                            +'<span class="moble-num">机器人</span>'
//                                            +'<span class="c-tx">'+ltData[a].substring(2)+'</span>'
//                                            +'</span>'
//                                            +'<span class="tx">'
//                                            +'<span></span>'
//                                            +'</span>'
//                                            +'</div>'
//                                            +'</div>'
//                                }
//                            }else{
//                                // lsObj.C=ltData[a].substring(2);
//                                if(ltData[a].substring(2)!==""){
//                                    ltContent='<div class="left">'
//                                            +'<div class="left-text">'
//                                            +'<span class="tx">'
//                                            +'<span></span>'
//                                            +'</span>'
//                                            +'<span class="contents">'
//                                            +'<span class="moble-num">'+rows[i].callPhoneNum+'</span>'
//                                            +'<span class="c-tx">'+ltData[a].substring(2)+'</span>'
//                                            +'</span>'
//                                            +'</div>'
//                                            +'</div>'
//                                }
//
//                            };
//                            contentHtml.append(ltContent);
//                            boxHtml.append(contentHtml)
//                            tabs.append(boxHtml);
////                            console.log(ltContent)
//                        };
////                        console.log(tabs);
////                        console.log(tabs[0])
//                        // $("#tabsxyc").append(tabs);
//                        $('#tabsxyc').tabs('add',{
//                            title:'聊天'+(i+1),
//                            content:tabs[0],
//                            // closable:true,
//                        });
//                    }
//                };
//                $('#tabsxyc').tabs("select",0)
//
//            }
//        })
//    }
</script>
<style>
    table{
        /*width: 100%;*/
    }
</style>
</html>